package com.mvp.shq.washer.ui.shop.categoryPage;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;
import com.mvp.shq.washer.entity.shop.Brand;

import java.util.List;

import io.reactivex.Observable;

/**
 * Created by shq1 on 2017/9/30.
 */

public interface CategoryPageConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<List<Brand>>> getBrands(String categoryId);
    }
    interface View extends BaseView{
        void getBrandsS(List<Brand> list);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void getBrands(String categoryId);
    }
}
